//
//  LBPhoto.m
//  app
//
//  Created by LINAICAI on 2017/5/11.
//  Copyright © 2017年 NAICAI LI. All rights reserved.
//

#import "LBPhoto.h"

@implementation LBPhoto
- (instancetype)initWithURLString:(NSString *)urlStr
{
    self = [super init];
    if (self) {
        self.url = [NSURL URLWithString:urlStr];
    }
    return self;
}
- (instancetype)initWithURL:(NSURL *)url
{
    self = [super init];
    if (self) {
        self.url = url;
    }
    return self;
}
- (instancetype)initWithImage:(UIImage *)image
{
    self = [super init];
    if (self) {
        self.image = image;
    }
    return self;
}
@end
